//
//  CAHistoryDataNALG.h
//  
//
//  Created by  on 2024/9/2.
//  Historical data 2, timestamp corresponds to historical data 1

#import <Foundation/Foundation.h>
#import "CANalgProtocal.h"

NS_ASSUME_NONNULL_BEGIN

@interface CAHistoryDataNALG : NSObject<CANalgProtocal>
@property(strong, readonly, nonatomic) NSNumber *timeStamp;
@property(strong, nonatomic, readonly)NSNumber *dataUuid;

@property(strong, nonatomic, readonly)NSNumber *cardiacCoherence; //Cardiac coherence Actual value range 0-1.If nil, it is an invalid value.

@property(strong, nonatomic, readonly) NSNumber *breathRate; // Respiration rate. If nil, it is an invalid value.

@property(strong, nonatomic, readonly) NSNumber *IBI;// float 0.00-1.00.If nil, it is an invalid value.

@property(strong, nonatomic, readonly) NSNumber *hrv;// If nil, it is an invalid value.

@property(strong, nonatomic, readonly) NSNumber *stress;// float 0.0-1.0. If nil, it is an invalid value.

-(instancetype)initWithData:(NSData *)data;

-(NSNumber *)dataTimeStamp;

@end

NS_ASSUME_NONNULL_END
